package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 主播动态收费标准
 * </p>
 *
 * @author Shane
 * @since 2019-08-26
 */
@TableName("host_dynamic_config")
public class HostDynamicConfig implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 动态类型，0-图片收费  1-视频收费
	 */
	@TableField(value = "`type`")
	private Integer type;

	/**
	 * 描述
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 金币数量
	 */
	private Integer coin;

	/**
	 * 收益
	 */
	private Double earn;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCoin() {
		return coin;
	}

	public void setCoin(Integer coin) {
		this.coin = coin;
	}

	public Double getEarn() {
		return earn;
	}

	public void setEarn(Double earn) {
		this.earn = earn;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
